<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
?>
<?php
$url="<a href=../../../>首页</a>&nbsp;>&nbsp;<a href=../cp/>控制面板</a>&nbsp;>&nbsp;好友列表";
require(ECMS_PATH.'e/data/template/cp_1.php');
?>
<div class="midcontent">
<ul>
	<?php if($sr){
		while($d=$empire->fetch($sr)){
			 $ui=getUserInfo($d['uid']);
	?>
<li>

               <div class="image"><a href="../sp/?uid=<?=$d[userid]?>"><img src="<?=$ui['userpic']?>" alt="" title=""></a></div>
               <div class="info">
                <p><?=$ui['username']?></p>
				 <p style="text-align:right;"><a href="../sp/?uid=<?=$d[userid]?>">查看</a></p>
                 <p style='display:none;'><a href="#">评论</a><a href="#">查看他的全部直播</a></p>
				 <p style='display:none;'><textarea  value='' id=''style='width:200px;height:20px;'></textarea><input type='button' value='评论'/></p>
                </div>
                <div class="clear"></div>
    </li>
	<?php		
		}
			
		}else{?>
	<div class="no-data">暂无数据！</div>
	<?php }?>
</ul>
</div>
<?php
require(ECMS_PATH.'e/data/template/cp_2.php');
?>